<xsl:stylesheet version="1.0" exclude-prefixes="xsl" xmlns:x="http://www.xopus.com/xmlns/config" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output encoding="us-ascii" method="html" version="1.0"
        doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
        doctype-system="http://www.w3.org/TR/html4/loose.dtd" />

  <xsl:template match="new-text">
    <html>
      <head>
        <title>Insert new ID</title>
        <link rel="stylesheet" type="text/css" href="ui/example-app.css"/>
      </head>
      <body onload="return lookup.newtext.init()" class="lookup-ui-dialog">

        <h1>Insert New Title</h1>

        <!-- Utility to insert both title text and 'corresponding' ID at the
             same time -->
        <form action="#" id="new-text-form" 
            class="form-newtext" 
            onsubmit="return lookup.newtext.choose();">

          <div>
            <label for="title_field">Title</label>
            <input type="text" name="title" id="title_field" onkeyup="return lookup.newtext.onKeyUp(event)"/>
          </div>

          <div>
            <label for="id_field">ID</label>
            <input type="text" name="id" id="id_field" />
          </div>

          <div class="form-newtext-submitrow">
            <input type="submit" value="OK"/>
          </div>

        </form>

        <script type="text/javascript" src="ui/example-app.js"></script>
      </body>
    </html>
  </xsl:template>  
</xsl:stylesheet>
